package service

type (
	IMytask interface {
	}
)

var (
	localMytask IMytask
)

func Mytask() IMytask {
	if localMytask == nil {
		panic("implement not found for interface IMytask, forgot register?")
	}
	return localMytask
}

func RegisterMytask(i IMytask) {
	localMytask = i
}
